#ifndef __LEETCODE1_GLOBAL_H__
#define __LEETCODE1_GLOBAL_H__

#include <vector>
#include <fstream>
#include <iostream>
#include <cstdlib>
#include <queue>
#include <map>

typedef struct Interval_ {
    int start;
    int end;
    Interval_() : start(0), end(0) { }
    Interval_(int s, int e): start(s), end(e) { }
} Interval;

typedef struct GraphNode_ {
    int val;
    std::vector<struct GraphNode_ *> neighbors;
} GraphNode;

typedef struct ListNode_ {
    int val;
    struct ListNode_ *next;
    struct ListNode_ *prev;
    ListNode_() : val(0), next(NULL), prev(NULL) { }
} ListNode;

#endif

